import request from '@/utils/request'
import axios from 'axios'

export function sysUserInfoList(params) {
	return request({
		url: '/system/sysUserInfo/query',
		method: 'get',
		params
	})
}

export function sysUserInfoAllList(params) {
	return request({
		url: '/system/sysUserInfo/queryByAll',
		method: 'get',
		params
	})
}

export function addSysUserInfo(params) {
	return request({
		url: '/system/sysUserInfo/add',
		method: 'post',
		params
	})
}

export function modifySysUserInfo(params) {
	return request({
		url: '/system/sysUserInfo/modify',
		method: 'post',
		params
	})
}

export function deleteSysUserInfo(params) {
	return request({
		url: '/system/sysUserInfo/deleteByBatch',
		method: 'get',
		params
	})
}

export function checkUserNameAndMobile(params) {
  return request({
    url: '/system/sysUserInfo/checkUserNameAndMobile',
    method: 'get',
    params
  })
}


/**
INSERT INTO `VueMenu`(`id`, `path`, `component`, `redirect`, `name`, `title`, `icon`, `parentId`, `status`, `sortNum`, `createTime`, `modifyTime`, `hidden`, `agentId`, `type`) VALUES (1649889710702600,'/sysUserInfoList','system/sysUserInfoList',NULL,'sysUserInfoList','系统用户',NULL,10000,1,100,now(), now(), NULL, NULL, 3);
INSERT INTO `VueMenu`(`id`, `path`, `component`, `redirect`, `name`, `title`, `icon`, `parentId`, `status`, `sortNum`, `createTime`, `modifyTime`, `hidden`, `agentId`, `type`) VALUES (1649889710702601,NULL,'system/sysUserInfoList',NULL,'addRec','添加',NULL,1649889710702600,1,10,now(), now(), NULL, NULL, 2);
INSERT INTO `VueMenu`(`id`, `path`, `component`, `redirect`, `name`, `title`, `icon`, `parentId`, `status`, `sortNum`, `createTime`, `modifyTime`, `hidden`, `agentId`, `type`) VALUES (1649889710702602,NULL,'system/sysUserInfoList',NULL,'editRec','修改',NULL,1649889710702600,1,20,now(), now(), NULL, NULL, 2);
INSERT INTO `VueMenu`(`id`, `path`, `component`, `redirect`, `name`, `title`, `icon`, `parentId`, `status`, `sortNum`, `createTime`, `modifyTime`, `hidden`, `agentId`, `type`) VALUES (1649889710702603,NULL,'system/sysUserInfoList',NULL,'deleteRec','删除',NULL,1649889710702600,1,30,now(), now(), NULL, NULL, 2);

**/
